package cn.hou.java.designpattern._16cor;

//汽车尾部组装
public class CarFootHandler extends CarHandler {

	@Override
	public void HandlerCar() {
		System.out.println("组装汽车尾部");
		//判断是否有下一步,如果有就执行下一步
		if(this.carHandler!=null)this.carHandler.HandlerCar();
	}

}
